//Teacher.java
package org.example.demo3.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    int id;
    String name;
    String password;
    int sex;
    String birthday;
    Course course; //实现一对一
    String professional;
}
